package cn.net.dpi.shp.model.entity;

import cn.net.dpi.shp.handler.MultiPointTypeHandler;
import cn.net.dpi.shp.handler.PolygonTypeHandler;
import cn.net.dpi.shp.model.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import lombok.Getter;
import lombok.Setter;
import org.locationtech.jts.geom.MultiPoint;
import org.locationtech.jts.geom.Polygon;

/**
 * 禁停区实体
 *
 * @author ake
 * @since 2024-12-27
 */
@Getter
@Setter
@TableName(value = "hd_noparkingarea", autoResultMap = true)
public class HdNoparkingarea extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private String objectId;

    private String objectGeo;

    private Long color;

    private Long type;

    private String meshId;

    private String adminCode;

    @TableField(typeHandler = PolygonTypeHandler.class)
    private Polygon geometry;

    private Long fileId;

    private String version;

    private Integer versionFlag;
}
